wayland: remove unneeded statement
authorOlivier Fourdan <ofourdan@redhat.com>
Wed, 29 Jun 2016 13:19:42 +0000 (15:19 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Mon, 4 Jul 2016 07:46:24 +0000 (09:46 +0200)
seat->pointer_info.focus is already set to NULL 2 lines above, no need to
repeat it there.

gdk/wayland/gdkdevice-wayland.c

index 32f57a2ca56d23dc5d88ab8ad1814632526c2f0a..c61fb7d2948355f7c52ac78aec49029ab7dad9e9 100644 (file)
@@ -1317,8 +1317,6 @@ pointer_handle_leave (void              *data,
   if (seat->cursor)
     gdk_wayland_pointer_stop_cursor_animation (&seat->pointer_info);
 
-  seat->pointer_info.focus = NULL;
-
   if (display_wayland->seat_version < WL_POINTER_HAS_FRAME)
     gdk_wayland_seat_flush_frame_event (seat);
 }